Skip to main content
PUT
/integration/:id

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Encoded integration id (opaque string from GET /v1/integration, e.g. gjdi9e).

Body

application/json

Settings to save, keyed as GET /v1/integration/{id} schema.properties. Platform-specific keys are allowed.

account_name
string | null

Account name. Blank or null falls back to the owning organisation's name. Owner only.

description
string | null

Free-text note shown when choosing the integration. Owner only.

filter
object

The caller organisation's include / exclude list for this integration. exclude: the listed organisations (and their child organisations) can't use it. include: only the listed organisations (and their children) can. Filters set by an organisation or its parents (or CORE) apply. An empty list removes the filter.

ads_txt
string

Ads.txt lines this integration requires, newline-separated. Present only when the platform's schema declares it. Each line may be prefixed [managed] (check only managed publishers), [unmanaged] (only unmanaged ones) or [UID:<uid>] (only that publisher). Comment lines (#), blank lines and duplicates are dropped on save; whitespace is normalised. Replaces the stored lines. Owner only.

app_ads_txt
string

App-ads.txt lines this integration requires, in the same format as ads_txt. Present only when the platform's schema declares it. Replaces the stored lines. Owner only.

token
string | null

API token, for platforms that declare it. Owner only.

refresh_token
string | null

Refresh token / secret, for platforms that declare it. Owner only.

expires
string | null

Token expiry, for platforms that declare it. Owner only.

Response

The integration after saving, as GET /v1/integration/{id} returns it.

results
object
required
success
enum<boolean>
required

Always true on success.

Available options:
true